<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
</head>
<body>

<form action="my" method="post">
    <fieldset>
        <legend>POST 方式提交</legend>
        <p><input type="submit" value="POST"></p>
    </fieldset>
</form>
<form action="my" method="get">
    <fieldset>
        <legend>GET 方式提交</legend>
        <p><input type="submit" value="GET"></p>
    </fieldset>
</form>

</body>
</html>